from utils import *
import os
import gui

modulePath = ""
mainGui = None
PLUGIN_NAME = "BLABLA"

def setPath(path):
    global modulePath
    modulePath = path

def getIcon():
    return os.path.join(modulePath,'icon.png')

def getTitle():
    return ("%s"%PLUGIN_NAME)

def getFrame():
    global mainGui
    mainGui = gui.mainGUI(modulePath)
    infoOutput("%s : GUI loaded"%PLUGIN_NAME)
    return mainGui.getMainObject()